<?php


namespace app\common\business;


use app\common\model\Admin;

class Login
{
    static public function login($data){
      $res =  Admin::checkLogin($data);
      if (!$res){
          return [];
      }
      return  $res;
    }
}